POV-Ray : Newsgroups : povray.binaries.images : Yeah! I did it! (New scatter macro) : Another example Server Time
17 Aug 2024 02:29:24 EDT (-0400)
  Another example  
From: JRG
Date: 18 Nov 2001 19:02:40
Message: <3bf84c20@news.povray.org>
Here's another simple example. As you can see, some boxes seem to float in
the air (and some seem to sink into the plane... hmm I'll have to
investigate), which is due to the algorithm implemented: first a random
position is chosen. Then the closest point of contact is found. Finally
other two close points are taken to calculate the normal of the plane
passing through them, so that I can align the object's axis to it with the
Reorient_Trans macro. Thus, the first point of contact is never left, which
leads to that problem. I think I'll have to find another solution if I want
to get more realistic results... any suggestion? Should I go through all
those calculation of the mechanical momentum? I always try first the
geometrical way, because it's a lot faster (this one took about 30 seconds
to parse) and often less approximative.
TIA,

--
Jonathan.


Post a reply to this message


Attachments:
Download 'blocks.jpg' (47 KB)

Preview of image 'blocks.jpg'
blocks.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.